package dfbz.homework1;

public class Manager {
    private String name;
    private int num;
    private int salary;
    private int price;

    public Manager() {
    }

    public Manager(String name, int num, int salary, int price) {
        this.name = name;
        this.num = num;
        this.salary = salary;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
    public void intro(){
        System.out.println("经理姓名"+this.name);
        System.out.println("工号"+this.num);
    }
    public void showSalary(){
        System.out.println("基本工资为"+this.salary+","+"奖金为"+this.price);
    }
    public void work(){
        System.out.println("正在努力的做着管理工作,分配任务,检查员工提交上来的代码....."  );
    }

}

